package com.yudaob2b.business.entity.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 7/5/18 11:03 PM
 */
@TableName("elong_hotel_rate")
public class ElongHotelRatePO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 酒店ID
     */
    @TableId(value = "hotel_id",type = IdType.ID_WORKER)
    private String hotelId;

    /**
     * 房型ID
     */
    private String roomTypeId;

    /**
     * 产品 ID
     */
    private String ratePlanId;

    /**
     * 开始时间
     */
    private Date startDate;

    /**
     * 结束时间
     */
    private Date endDate;

    /**
     * 供应商ID
     */
    private String hotelCode;

    /**
     * 状态
     */
    private int status;

    /**
     * 平日卖价
     */
    private BigDecimal member;

    /**
     * 周末卖价
     */
    private BigDecimal weekend;

    /**
     * 平日结算价
     */
    private BigDecimal memberCost;

    /**
     * 周末结算价
     */
    private BigDecimal weekendCost;

    /**
     * 加床价
     */
    private BigDecimal addBed;

    /**
     * 价格ID
     */
    private long priceId;

    /**
     * 货币类型
     */
    private String currencyCode;

    /**
     * 最后更新时间
     */
    private Date updateTime;

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(String roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getRatePlanId() {
        return ratePlanId;
    }

    public void setRatePlanId(String ratePlanId) {
        this.ratePlanId = ratePlanId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getHotelCode() {
        return hotelCode;
    }

    public void setHotelCode(String hotelCode) {
        this.hotelCode = hotelCode;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getMember() {
        return member;
    }

    public void setMember(BigDecimal member) {
        this.member = member;
    }

    public BigDecimal getWeekend() {
        return weekend;
    }

    public void setWeekend(BigDecimal weekend) {
        this.weekend = weekend;
    }

    public BigDecimal getMemberCost() {
        return memberCost;
    }

    public void setMemberCost(BigDecimal memberCost) {
        this.memberCost = memberCost;
    }

    public BigDecimal getWeekendCost() {
        return weekendCost;
    }

    public void setWeekendCost(BigDecimal weekendCost) {
        this.weekendCost = weekendCost;
    }

    public BigDecimal getAddBed() {
        return addBed;
    }

    public void setAddBed(BigDecimal addBed) {
        this.addBed = addBed;
    }

    public long getPriceId() {
        return priceId;
    }

    public void setPriceId(long priceId) {
        this.priceId = priceId;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ElongHotelRatePO{" +
                "hotelId='" + hotelId + '\'' +
                ", roomTypeId='" + roomTypeId + '\'' +
                ", ratePlanId='" + ratePlanId + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", hotelCode='" + hotelCode + '\'' +
                ", status=" + status +
                ", member=" + member +
                ", weekend=" + weekend +
                ", memberCost=" + memberCost +
                ", weekendCost=" + weekendCost +
                ", addBed=" + addBed +
                ", priceId=" + priceId +
                ", currencyCode='" + currencyCode + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
